home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / beos / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / Import-Export / MOD.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-26  |  1.2 KB  |  64 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #if defined(powerc) || defined(__powerc)
  25. #pragma options align=mac68k
  26. #endif
  27.  
  28. #define MAXPTRS 128
  29.  
  30. struct MODCom
  31. {
  32.     Byte    a,b,c,d;
  33. };
  34.  
  35. struct MODPat
  36. {
  37.     struct MODCom Commands[64][4];
  38. };
  39.  
  40. struct FileInstrDataz
  41. {
  42.     char Filename[22];
  43.     unsigned short numWords;
  44.     Byte fineTune;
  45.     Byte volume;
  46.     unsigned short loopWord;
  47.     unsigned short loopWords;
  48. };
  49.  
  50. struct MODDef
  51. {
  52.     char NameSignature[ 20];
  53.     struct FileInstrDataz fid[ 31];
  54.     Byte numPointers;
  55.     Byte maxPointers;
  56.     Byte oPointers[ MAXPTRS];
  57.     long longFmtSignature;
  58.     struct MODPat patterns[];
  59. };
  60. typedef struct MODDef MODDef;
  61.  
  62. #if defined(powerc) || defined(__powerc)
  63. #pragma options align=reset
  64. #endif